package com.example.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

@Service
public class AccountService {
    
    @Autowired
    private JdbcTemplate jdbcTemplate;
    
    public void account() {
        jdbcTemplate.execute(" INSERT INTO account (order_no, cost) VALUES ('110', 325) ");
    }
}
